package com.minis.web.servlet;

import java.lang.reflect.Method;

/**
 * @author mqz
 */
public class HandlerMethod {


    private Object bean;

    private Class<?> type;

    private Method method;

    private MethodParameter[] parameters;

    private Class<?> returnType;

    private String description;

    private String className;

    private String methodName;

    public HandlerMethod(Method method, Object obj) {
        this.setMethod(method);
        this.setBean(obj);
    }

    public void setMethod(Method method) {
        this.method = method;
    }

    public Method getMethod() {
        return method;
    }

    public Object getBean() {
        return bean;
    }

    public void setBean(Object bean) {
        this.bean = bean;
    }
}
